package dubbo.server4.impl.webservice.server;

import dubbo.server4.impl.controller.WebServiceController;
import org.apache.log4j.Logger;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public class HelloWebServiceImpl implements HelloWebService {
    private Logger logger = Logger.getLogger(WebServiceController.class);
    @WebMethod
    public HelloWebServiceResponse test(HelloWebServiceRequest request){
        HelloWebServiceResponse response=new HelloWebServiceResponse();
        response.setAge(request.getAge());
        response.setName(request.getName());
        return response;
    }
}
